package com.myc.cloud.invoker.service.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Classname HelloService
 * @Description
 * @Date 2020-08-24 20:00
 * @Created by myc
 */
@FeignClient("provider")
public interface HelloService {

    @GetMapping("/hello")
    String sayHello(@RequestParam(name = "name")String str);
}
